<template>
  <div>
    <div class="overlay">
      <div class="overlay-content scrolling">
        <van-nav-bar right-text="稍后备份" :border="false" />
        <div class="row-justify-content">
          <div>
            <div class="title">
              <h4>备份提示</h4>
              <p>获得助记词等于拥有钱包资产所有权</p>
              <img src="../../../assets/images/logo.png" width="100" height="100" />
            </div>
            <div>
              <ul>
                <li class="list">
                  <span>备份助记词</span>
                  <ul>
                    <li>使用纸笔正确抄写助记词</li>
                    <li>如果你的手机丢失、被盗、损坏，助记词将可以恢复你的资产</li>
                  </ul>
                </li>
                <li class="list">
                  <span>离线保管</span>
                  <ul>
                    <li>妥善保管至隔离网络的安全地方</li>
                    <li>请勿将助记词在互联网环境下分享和存储，比如邮件、相册、社交应用等</li>
                  </ul>
                </li>
              </ul>
            </div>
            <van-dialog v-model="show" title="请输入密码" style="border-radius: 6px;" width="240px" show-cancel-button>
              <div class="pass">
                <input type="text" />
              </div>
            </van-dialog>
            <van-button type="info" class="backup" @click="press">备份钱包</van-button>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      show: false
    };
  },
  methods: {
    press() {
      this.show = true;
    }
  }
};
</script>
<style lang="less" scoped>
.van-nav-bar__text {
  font-size: 13px;
}

.title {
  margin-bottom: 64px;
  text-align: center;
  p {
    margin-top: 17px;
    margin-bottom: 46px;
    font-size: 12px;
    color: #999999;
  }
  img {
    margin: 0 auto;
  }
}

.list {
  font-size: 12px;

  list-style: disc;
  margin-bottom: 20px;
  span {
    font-weight: bold;
  }
  ul {
    width: 290px;
    margin-top: 10px;
  }
  ul li {
    color: #999999;
    line-height: 22px;
  }
}

.backup {
  width: 100%;
  border-radius: 7px;
  height: 36px;
  line-height: 36px;
  font-size: 12px;
  margin-top: 38px;
}

.pass {
  padding: 15px 0;
  input {
    border: 1px solid #ececed;
    margin: 0 auto;
    display: block;
    height: 22px;
    width: 87%;
  }
}
.attention {
  padding: 30px 25px;
  box-sizing: border-box;
  text-align: center;
  width: 355px;
  height: 350px;
  div:nth-child(1) {
    margin-bottom: 30px;
    margin-top: 10px;
  }
  div:nth-child(2) h5 {
    font-size: 15px;
    margin-bottom: 16px;
  }
  .button {
    margin-top: 50px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    button {
      border-radius: 5px;
      line-height: 35px;
      width: 140px;
      height: 35px;
    }
  }
  .cancel {
    background: #e3f1fa;
    color: #2295f3;
  }
}
/deep/.van-dialog__header{
  padding-top:16px;
  font-size: 14px
}

/deep/.van-dialog__header,
/deep/.van-dialog__content {
  background: #f2f6f7;
  
}
/deep/.van-button--large {
  height: 35px;
  line-height: 35px;
  font-size: 14px;
  color: #0070e0;
}
</style>